<?php
namespace app\web\constant;


class CommonConstant {

    //是否删除
    const IS_DELETE_YES = 1;
    const IS_DELETE_NO = 2;


    //员工在职状态
    const USER_STATUS_JOB = 0;//在职
    const USER_STATUS_DISABLE = 1;//禁用
    const USER_STATUS_EXAMINE = 2;//审核中
    const USER_STATUS_QUIT = 3;//离职



    //工种分类级别
    const WORKER_TYPE_LEVEL_ZERO = 0;
    const WORKER_TYPE_LEVEL_ONE = 1;

    public static $work_type = [
        self::WORKER_TYPE_LEVEL_ZERO,
        self::WORKER_TYPE_LEVEL_ONE,
    ];




    //dp_qt_hand_grant表
    const HAND_GRANT_TYPE_USER = 1;//用户
    const HAND_GRANT_TYPE_STAFF = 2;//员工





    //qt_product_order
    const PRODUCT_ORDER_PAY_TYPE_WECHAT = 1;//微信
    const PRODUCT_ORDER_PAY_TYPE_ALI = 2;//支付宝
    const PRODUCT_ORDER_PAY_TYPE_BALANCE = 3;//余额

    public static $product_order_pay_type = [
        self::PRODUCT_ORDER_PAY_TYPE_WECHAT=>'微信',
        self::PRODUCT_ORDER_PAY_TYPE_ALI=>'支付宝',
        self::PRODUCT_ORDER_PAY_TYPE_BALANCE=>'余额'
    ];




    //qt_room_appointment

    //销售类型
    const ROOM_APPOINTMENT_SALE_TYPE_ENGINEER = 1;//技师
    const ROOM_APPOINTMENT_SALE_TYPE_FLOOR = 2;//楼面
    public static $room_appointment_sale_type =[
        self::ROOM_APPOINTMENT_SALE_TYPE_ENGINEER=>'技师',
        self::ROOM_APPOINTMENT_SALE_TYPE_FLOOR=>'楼面',
    ];


}
